Skip to content

docs: use apply_transcript in replay examples#21

Merged
rlippmann merged 1 commit into
mainfrom
codex/apply_transcript_to_examples
May 11, 2026
Merged

docs: use apply_transcript in replay examples#21
rlippmann merged 1 commit into
mainfrom
codex/apply_transcript_to_examples

Conversation

@rlippmann
Copy link
Copy Markdown
Owner

Summary

  • replace manual cold-session transcript replay loops with engine.apply_transcript in node-basic and nextjs-basic examples
  • simplify example 06 by using engine.apply_transcript directly for replay onto current engine state
  • preserve existing filtering and response behavior

Why

This makes replay intent clearer in request-scoped examples and aligns examples with the newly restored API parity surface.

Scope checklist

  • Diff is minimal and scoped to the requested behavior
  • Python/spec parity is preserved (or mismatch is explicitly documented)
  • Fixture semantics are respected (exact string vs non-empty null rule)
  • No unrelated refactors
  • Relevant tests were run

Notes

  • Validation run: npm test (all passing).
  • No engine behavior changes.
  • No fixture or CI workflow changes.

@rlippmann rlippmann merged commit 1b9a30c into main May 11, 2026
1 check passed
@rlippmann rlippmann deleted the codex/apply_transcript_to_examples branch May 11, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant